Given
that I am at the homepage
3s 928ms
And
I click on the user icon
6ms
And
I enter "user" in the email field
721ms
And
I enter "user" in the password field
505ms
And
I click the login button
2s 55ms
And
I should be logged in
4ms
When
I select Malmö from the välj stad dropdown menu
6s 26ms
And
I click the sök button
1s 10ms
And
I should get a list of available hotels in Malmö
2s 8ms
And
I click on the boka rum på detta hotell button
2s 407ms
And
I should get the list of available rooms
2s 5ms
And
I choose number of rooms from dropdown menu
2s 21ms
Show Error +
TypeError: Cannot read property 'click' of null
at createWorld.(anonymous) (C:\Users\srcha\Google Drive\Skola\dev\hoolitels\frontend\tests\selenium\step-definitions\booking.js:30:15)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
TypeError: Cannot read property 'click' of null
at createWorld.(anonymous) (C:\Users\srcha\Google Drive\Skola\dev\hoolitels\frontend\tests\selenium\step-definitions\booking.js:30:15)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
And
I click on the boka rum button
0s
And
I should see the order page
0s
And
I choose number of adults
0s
And
I click on the fortsätt till betalning button
0s
And
I should see the payment page
0s
And
I click on the godkänn och betala din bokning button
0s
And
I click on the klicka här för att gå till din profil button
0s
And
I should see my profile page
0s
And
I click on my bokningar
0s
Then
I can find my booking in the list
0s